package com.lzx.orderserver.service;

import com.lzx.commons.entity.Payment;
import com.lzx.commons.entity.Result;

import java.util.List;

public interface PaymentsService {
    Result<Payment> getById(int id);

    Result<List<Payment>> list();

    Result save(Payment payment);
}
